package com.h1.staffmanage.service;

import com.h1.staffmanage.entity.RespBean;
import com.h1.staffmanage.entity.RespPageBean;
import com.h1.staffmanage.entity.TEmployee;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mengfanyu
 * @since 2022-06-23
 */
public interface TEmployeeService extends IService<TEmployee> {

    RespPageBean getEmployeeByPage(Integer currentPage, Integer size, TEmployee employee, LocalDate[] beginDateScope);

    RespBean maxWorkID();

    RespBean addEmp(TEmployee employee);

    List<TEmployee> getEmployee(Integer id);

    RespPageBean getEmployeeWithSalary(Integer currentPage, Integer size);
}
